import React from 'react'
import Layout from '../../components/Layout'
import Header from '../../components/Header'
import Menu from '../../components/Menu'
import Welcome from '../Welcome'
import { BrowserRouter as Router, Route,Switch} from "react-router-dom"
export default function index() {
  return (
    <Layout
        header={<Header />}
        aside={<Menu />}
        >
            <Route path='/'  exact component={Welcome}/>
            <Route path='/students'  exact component={Welcome}/>
            <Route path='//students/add'  exact component={Welcome}/>
            {/* <Route path='/'  exact component={Welcome}/> */}
            
      </Layout> 
  )
}
